package com.atguigu.gmall.order.service;

import com.atguigu.gmall.model.order.OrderInfo;

public interface OrderInfoService {
    Long saveOrderInfo(OrderInfo orderInfo);

    boolean hasStock(Long skuId, Integer skuNum);

    void cancelOrder(String orderId);

    OrderInfo getOrderInfo(Long orderId);

    void updateOrderStatus(String orderId);
}
